package pharmacy
import java.util.Date;
class Prescription {
    static belongsTo  = [patient:Patient,doctor:Doctor];
    static hasMany=[quantityAndUses:QuantityAndUse];
    Date date;
    static constraints = {
        quantityAndUses(minLength:1);
    }
}
